package com.keyin.widget;

import com.keyin.protocol.NewPeriodicals;

import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.view.View;
import android.widget.LinearLayout;

public abstract class MainWidgetBase extends LinearLayout {
	protected Activity parent;

	protected ProgressDialog progressDialog;

	public MainWidgetBase(Activity context) {
		super(context);
		parent = context;

		setLayoutParams(new LayoutParams(
				android.view.ViewGroup.LayoutParams.FILL_PARENT,
				android.view.ViewGroup.LayoutParams.FILL_PARENT));
	}

	public abstract void onNewIntent(Intent i);
}
